﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;

namespace FwProject.Distribution
{
    /// <summary>
    /// 配送线路
    /// </summary>
    [Table("DistributionLine")]
    public class DistributionLine: FullAuditedEntity<Guid>
    {
        public Guid? FactoryInfoid { get; set; }
        /// <summary>
        /// 线路名称
        /// </summary>
        [Required]
        [StringLength(200)]
        public string LineName { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsDiscontinuation { get; set; } = true;
    }
}
